/**
 * 
 */
package com.youxin.busfoundation.bean.phone;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.youxin.foundation.utils.StringUtils;

/**
 * @author yingde.cao
 * @date 2017年12月22日
 * @version 1.0
 */
public class ResponseBillsBean {
	
//	@JsonIgnore
//	private int total=0;
	private int minutes;
	
	@JsonProperty("order_id")
	private String orderId;
	
	private BigDecimal money;

//	public int getTotal() {
//		return total;
//	}
//
//	public void setTotal(int total) {
//		this.total = total;
//	}

	public int getMinutes() {
		return minutes;
	}

	public void setMinutes(int minutes) {
		this.minutes = minutes;
	}

	public BigDecimal getMoney() {
		if(money==null){
			return BigDecimal.ZERO;
		}
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public String getOrderId() {
		return StringUtils.isNullSetEmpty(orderId);
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	
}
